package org.dromara.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.common.core.domain.R;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.house.domain.bo.ParkContractBo;
import org.dromara.house.domain.bo.ParkDistrictBo;
import org.dromara.house.domain.entity.ParkContract;
import org.dromara.house.domain.entity.ParkContractCheckOut;
import org.dromara.house.domain.entity.ParkDistrict;


/**
 * <p>
 * 园区租赁合同表 服务类
 * </p>
 *
 * @author LCH
 * @since 2025-08-26
 */
public interface ParkContractService extends IService<ParkContract> {

    TableDataInfo<ParkContract> selectPageContractList(ParkContractBo role, PageQuery pageQuery);

    ParkContract selectById(Long id);

    R<Void> insertContract(ParkContract parkContract);

    R<Void> updateContract(ParkContract parkContract);

    int deleteByIds(Long[] roleIds);

    int checkOut(ParkContractCheckOut parkContractCheckOut);
}
